package com.dingqb.ktdemo.file

import java.io.File

class FileDemo {

}


fun readFile(filePath: String): String {
    val file = File(filePath)
    return file.readText()
}

fun main() {
    val filePath = "README.md"
    val fileContent = readFile(filePath)
    println(fileContent)

            // java学习路线，请用markdown 格式输出
            // markdown
}